export const routeTo =function(url,type=false){
	console.log(url)
	if(type){
		uni.switchTab({
			url
		});
	}else{
		uni.navigateTo({
			url
		});
	}
} 